<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CRM学员管理系统</title>
<link rel="stylesheet" href="/static/css/login.css">
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
</head>
<body class="logo_box">
	<h1>CRM学员管理系统</h1>
	<!-- 
		autocomplete 属性规定输入字段是否应该启用自动完成功能。自动完成允许浏览器预测对字段的输入。当用户在字段开始键入时，浏览器基于之前键入过的值，应该显示出在字段中填写的选项。on是默认提示，off是关闭
	 -->
	<form action="login" method="post" autocomplete="on">
		<div class="input_outer">
			<i class="fa fa-user-o u_user"></i>
			<input required="required" name="userName" class="text" placeholder="输入账号" type="text">
		</div>
		<div class="input_outer">
			<i class="fa fa-eye u_user"></i>
			<input autocomplete="off" required="required" placeholder="请输入密码" name="password" class="text" type="password">
		</div>
		<div class="mb2">
			<button class="act-but submit" style="color:#FFFFFF">登录</button>
			<div class="actions"><a href="/reg">注册</a></div>
		</div>
		<#if error??>
			<div style="text-align:center;padding:10px">${error}</div>
		</#if>
	</form>
</body>
</html>